﻿@inherits  Project.Module.View.CMS.CMSSearchUserView
@{
    ViewBag.Title = "Tìm Kiếm";
    Layout = "~/Views/Backend/Home/_Master.cshtml";
}
<table height="20px"></table>
<h3>Kết quả tìm kiếm : </h3>
<table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
   @if (this.listEmployee != null && this.listEmployee.Count > 0)
   { 
        <tr>
        <th class="table-header-repeat line-left "><a>tên user</a></th>
        <th class="table-header-repeat line-left "><a>email</a></th>
        <th class="table-header-repeat line-left "><a>ngày tạo</a></th>
        <th class="table-header-repeat line-left "><a>tạo mới</a></th>
        <th class="table-header-repeat line-left "><a>chỉnh sửa</a></th>
        <th class="table-header-repeat line-left"><a>xóa</a></th>
        </tr>
       foreach (var item in this.listEmployee)
       { 
            <tr>
            <td>@item.username</td>
            <td>@item.mail</td>
            <td>@item.JoinDate.ToString("dd/MM/yyyy")</td>
            <td><a href="/admin/dang-ki-tai-khoan">tạo mới</a></td>
            <td><a href="/admin/quan-ly-nhom-quyen/edit?id=@item.EmployeeID">chỉnh sửa</a></td>
            <td><a href="/admin/quan-ly-nhom-quyen/del?id=@item.EmployeeID">xóa</a></td>
            </tr>
        }
    }
</table>
<!--  end product-table................................... -->
<table height="20px"></table>
<input type="button" value="" class="add-form" onclick="addProduct()" />

<script type="text/jscript">
    function addProduct() {
        window.location.href = "/admin/dang-ki-tai-khoan";
    }
</script>

